package com.design.pattern.structural.facade;

/**
 * @Author hanyuanlai
 * @Date 2022/7/31
 */
public class Facade {
    private SystemOne systemOne;
    private SystemTwo systemTwo;
    private SystemThree systemThree;

    public Facade() {
        this.systemOne = new SystemOne();
        this.systemTwo = new SystemTwo();
        this.systemThree = new SystemThree();
    }

    public void methodA() {
        systemOne.methodOne();
        systemTwo.methodTwo();
    }
}
